﻿//INSTANT C# NOTE: Formerly VB project-level imports:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Linq;
using System.Xml.Linq;

namespace STSFederationMetadataEditor
{
	public partial class frmDisplayClaimTypes
	{

		internal frmDisplayClaimTypes()
		{
			InitializeComponent();
		}
		private void frmDisplayClaimTypes_Load(object sender, System.EventArgs e)
		{
            BindClaimTypes();
		}

        /// <summary>
        /// Binds the Default Claim Types to the ComboBox control
        /// </summary>
		private void BindClaimTypes()
		{
            CustomDisplayClaim customClaim = new CustomDisplayClaim();

            cmbClaimTypes.DataSource = customClaim.ClaimTypes;
			cmbClaimTypes.SelectedIndex = 0;
		}

		private void cmdCopy_Click(object sender, System.EventArgs e)
		{
			Clipboard.SetText(cmbClaimTypes.Text);
			MessageBox.Show(cmbClaimTypes.Text);
		}
	}
}